package com.qf.java2105.huangchuang.hotel.dao;

import com.qf.java2105.huangchuang.hotel.pojo.User;

import java.sql.SQLException;

/**
 * 用户持久层接口
 * @author hcvg
 * @version v1.0
 * @date 2021/09/15
 **/
public interface IUserDao {
    /**
     * 用户登录
     * @param userName
     * @return
     * @throws SQLException
     */
    User login(String userName) throws SQLException;
}
